package com.tmindtech.api.mas.configuration;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties("mas")
public class MasConfiguration {
    private String hostIp;
    private String loginName;
    private String loginPassword;
    private String apiId;
    private String dbName;

    public String getHostIp() {
        return hostIp;
    }

    public MasConfiguration setHostIp(String hostIp) {
        this.hostIp = hostIp;
        return this;
    }

    public String getLoginName() {
        return loginName;
    }

    public MasConfiguration setLoginName(String loginName) {
        this.loginName = loginName;
        return this;
    }

    public String getLoginPassword() {
        return loginPassword;
    }

    public MasConfiguration setLoginPassword(String loginPassword) {
        this.loginPassword = loginPassword;
        return this;
    }

    public String getApiId() {
        return apiId;
    }

    public MasConfiguration setApiId(String apiId) {
        this.apiId = apiId;
        return this;
    }

    public String getDbName() {
        return dbName;
    }

    public MasConfiguration setDbName(String dbName) {
        this.dbName = dbName;
        return this;
    }
}
